<form class="layui-form layui-card" action="{:url('marketPublishConfig')}" data-auto="true" method="post" autocomplete="off">

    <div class="layui-card-body padding-left-40">

        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">发布一个二手商品需要几个积分</span>
                <input name="market_credits" required placeholder="请输入所需要的积分" value="{$result.market_credits|default="0"}" class="layui-input">
            </label>
            <p class="help-block">发布一个二手商品 需消耗{$result.market_credits|default="0"}个积分 </p>
        </div>

        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">发布一个二手商品需要几个发布豆<i style="color: #cc0000;">[优先消耗积分，再消耗发布豆]</i></span>
                <input name="market_bean" required placeholder="请输入所需要的发布豆" value="{$result.market_bean|default='0'}" class="layui-input">
            </label>
            <p class="help-block"> 发布一份二手商品 需消耗{$result.market_bean|default="0"}个发布豆</p>
        </div>

       <!--  <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">二手置顶消耗积分</span>
                <input name="market_top_credits" required placeholder="请输入每置顶一条二手所需要豆发布豆" value="{$result.market_top_credits|default='0'}" class="layui-input">
            </label>
            <p class="help-block">每置顶一条二手 需要{$result.market_top_credits|default="0"}个积分 </p>
        </div>

        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">二手置顶消耗发布豆<i style="color: #cc0000;">[优先消耗积分，再消耗发布豆]</i></span>
                <input name="market_top" required placeholder="请输入每置顶一条二手所需要豆发布豆" value="{$result.market_top|default='0'}" class="layui-input">
            </label>
            <p class="help-block">每置顶一条二手 需要{$result.market_top|default="0"}个发布豆 </p>
        </div> -->


    </div>

    <div class="hr-line-dashed"></div>
    <input type='hidden' value='{$aid}' name='aid'>
    <input type='hidden' value='{$id}' name='id'>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>

</form>
